package cn.ibdsr.human.transfer;

import cn.ibdsr.human.core.check.Verfication;
import cn.ibdsr.human.db.model.BaseDTO;
import cn.ibdsr.human.util.RegUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @description:
 * @author: cdl
 * @email: iamcimon@qq.com
 * @date: 2021/8/3 15:08
 */
@ApiModel("保存个人信息")
@Data
public class UserDetailSaveDTO extends BaseDTO {
    private static final long serialVersionUID = 4488419522803004985L;
    /**
     * 姓名
     */

    @ApiModelProperty(value = "姓名",required = true)
    @NotEmpty(message = "姓名不能为空" )
    private String name;


    @ApiModelProperty(value = "平台编辑时使用：求职状态（0:求职中，1在职）")
    private Integer jobStatus;

    /**
     * 身份证号码
     */
    @ApiModelProperty(value = "身份证号码",required = true)
    @NotEmpty(message = "身份证号码不能为空" )

    private String idCardNo;
    /**
     * 年龄
     */
    @ApiModelProperty(value = "年龄",required = true)
    @NotNull(message = "年龄不能为空" )
    private Integer age;

    /**
     * 性别：0男 1女
     */
    @ApiModelProperty(value = "性别",required = true)
    @NotNull(message = "性别不能为空" )
    private Integer gender;

    /**
     * 专业特长
     */
    @ApiModelProperty(value = "专业特长",required = true)
    @NotEmpty(message = "专业特长不能为空" )
    private String major;


    @ApiModelProperty(value = "工作经验",required = true)
    @NotNull(message = "工作经验不能为空" )
    private Integer experience;

    /**
     * 薪资要求
     */
    @ApiModelProperty(value = "月薪要求")
    private String salary;

    /**
     * 岗位要求
     */
    @ApiModelProperty(value = "岗位要求")
    private String jobRequire;
    /**
     * 文化程度
     */
    @ApiModelProperty(value = "文化程度")
    private Integer education;
    /**
     * 政治面貌
     */
    @ApiModelProperty(value = "政治面貌")
    private Integer politic;

    /**
     * 婚庆情况：0未婚 1已婚
     */
    @ApiModelProperty(value = "婚庆情况")
    private Integer married;

    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址")
    private String address;

}
